package com.recruit.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.recruit.common.model.UserGroupDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserGroupMapper extends BaseMapper<UserGroupDO> {

    int insertBatch(@Param("relations") List<UserGroupDO> relations);

    Integer countByGroupId(Integer groupId);
}
